package com.bocai.kelalacar.ui.car.set.contract;

import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.CarDriverBean;
import com.bocai.kelalacar.bean.UploadImgBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/27.
 */

public interface AddDriverContract {

    interface view extends BaseView {

        void addDriverSuccess();

        void getDriverList(CarDriverBean bean);

        void deleteDriverSuccess(int index);

        void modifyDriverSuccess();

    }
    abstract static class presenter  {


        public abstract void addDriver(String memberId,String DriverName,String DriverPhone);

        public abstract void getCarDriverList(String memberId);

        public abstract void deleteDriver(String driverId,int index);

        public abstract void modifyDriver(String driverId,String DriverName,String DriverPhone);

    }

}
